public class SimpleCalcController {

    public Decimal number1 {get; set;}
    public Decimal number2 {get; set;}
    public Decimal result {get; set;}
    
    public SimpleCalcController(){
        number1 = number2 = result = 0;
    }
        
}